<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="update" method="post">
    <table border="1" cellspacing="0">
        <tr>
            <td>姓名</td>
            <td>年龄</td>
            <td>部门</td>
            <td>时间</td>
        </tr>
        <tr th:object="${student}">
            <td>
                <input type="text" name="uid" th:value="*{uid}" readonly>
            </td>
            <td>
                <input type="text" name="uname" th:value="*{uname}">
            </td>

            <td>
                <input type="text" name="age" th:value="*{age}">
            </td>
            <td>
                <input type="text" name="dname" th:value="*{dname}">
            </td>
            <td>
                <input type="date" name="createtime" th:value="*{createtime}">
            </td>

            <td>
                <input type="submit" value="修改">
            </td>
        </tr>
    </table>
</form>
</body>
</html>